package com.zjgsu.nftplatform.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author ahy231
 * @date 2022/3/5 11:57
 * @description
 */
@Data
@ApiModel("交易高级搜索")
public class DealResearch {
    @ApiModelProperty("商品id")
    private List<Long> wareIds;
    @ApiModelProperty("页面，默认请置空")
    private PageLimit limit;
    @ApiModelProperty("买家id，默认请置空")
    private Long buyerId;
    @ApiModelProperty("卖家id，默认请置空")
    private Long sellerId;
    @ApiModelProperty("售卖类型：一口价、拍卖、议价")
    private String saleMethod;
    @ApiModelProperty("权利类型：版权、所有权、全部(null)")
    private String type;
    @ApiModelProperty("天/周/月，全部：null")
    private String timeLimit;
    @ApiModelProperty("null/无序，1/从高到低，2/从低到高")
    private Integer priceOrder;
    @ApiModelProperty("时间顺序：null/无序，1/由近及远，2/由远及近")
    private Integer timeOrder;
    @ApiModelProperty("综合排序是否打开")
    private Boolean comprehensiveOrder;
    @ApiModelProperty("交易状态（未支付/1 支付中/2 支付成功/3 支付失败/4）")
    private List<Long> status;
}
